package com.example.springboot.bean;

import com.example.springboot.config.anotation.desensitize.Sensitive;
import com.example.springboot.pojo.SensitiveStrategy;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/10/9 20:48
 */
public class Department {
    @Sensitive(strategy = SensitiveStrategy.ID)
    private Integer id;
    @Sensitive(strategy = SensitiveStrategy.NAME)
    private String departmentName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", departmentName='" + departmentName + '\'' +
                '}';
    }
}
